package parasoft.centrap.test;

import java.lang.reflect.Modifier;
import java.text.NumberFormat;
import java.text.ParseException;

public class Regex extends Modifier{
	public static void main(String[] args) {

		
		
		
		
		
		
		
		String in = "3.11";
		
		NumberFormat nf = NumberFormat.getInstance();
		Number nn = Double.valueOf(in);
		try {
			Number n = nf.parse(in);
			double ddc = n.doubleValue();
			Double dc = new Double(ddc*100);
			long cena_d_tow = (dc).intValue();
			
			
			System.out.println(cena_d_tow);
		} catch (ParseException e) {
			e.printStackTrace();
		}
		
		
	}

}
